package com.principle.isp;

/**
 * @author yangguanzan
 * @date 3/10/22
 * @description
 */
public class Searcher extends AbstractSearcher {


    Searcher(IGreatTemperamentGirl greatTemperamentGirl) {
        super(greatTemperamentGirl);
    }

    Searcher(IGoodBodyGirl goodBodyGirl) {
        super(goodBodyGirl);
    }

    @Override
    public void show() {
        if(null!=this.greatTemperamentGirl){
            this.greatTemperamentGirl.greatTemperament();
        }
        if(null!=this.goodBodyGirl){
            this.goodBodyGirl.goodLooking();
            this.goodBodyGirl.niceFigure();
        }
    }
}
